package net.csdra.wenhua.nanan.qiandao.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;

/**
 * Created by xiaomi on 2017/2/17.
 */
@Entity(name="user")
public class User {
    @Id
    private String id;
    private String weixinId;
    @Lob
    private String userInfo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWeixinId() {
        return weixinId;
    }

    public void setWeixinId(String weixinId) {
        this.weixinId = weixinId;
    }

    public String getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(String userInfo) {
        this.userInfo = userInfo;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", weixinId='" + weixinId + '\'' +
                ", userInfo='" + userInfo + '\'' +
                '}';
    }
}
